import App from './App'
import notice from '@/components/acme-design/notice'
import AcmeAppBar from '@/components/acme-design/app-bar/index.vue'
import AcmeButton from '@/components/acme-design/button/index.vue'
import AcmePopup from '@/components/acme-design/popup/index.vue'

Vue.use(notice)
Vue.component('acme-app-bar', AcmeAppBar)
Vue.component('acme-button', AcmeButton)
Vue.component('acme-popup', AcmePopup)

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})

app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif